home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / cron16.arc / CRONTAB.DV < prev    next >
Text File  |  1991-01-20  |  3KB  |  76 lines

  1. # -------------------------------------------------------------
  2. # Sample CRONTAB to illustrate the use of CRONDV. Syntax of
  3. # CRONTAB lines is:
  4. #
  5. #   min hour day month day-of-week pif[;pif...;pif]
  6. # where "pif" is the two-character code used on the DESQview
  7. # Open Window menu. Each code must have a corresponding
  8. # xx-pif.dvp file. For example,
  9. #    30 2 * * * ac
  10. # will make CRONDV execute the file c:\dv\ac-pif.dvp just as
  11. # if 'AC' were typed on the DESQview Open Window menu.
  12. #
  13. # The environment variable CRONPIF determines where CRONDV will
  14. # look for xx-pif.dvp files. In the example above we assumed
  15. # that CRONPIF was left blank or set to C:\DV. If CRONPIF is
  16. # blank (or unset) CRONDV assumes C:\DV by default.
  17. #
  18. # You can prefix the two-character codes with a drive\pathname.
  19. # In this case CRONPIF is ignored. For example,
  20. #    20 17 * * * c:\\special\\pif\\sp
  21. # will trigger execution of C:\SPECIAL\PIF\SP-PIF.DVP provided
  22. # that file exists. If not, CRONDV will not look elswehere.
  23. #
  24. # Lines starting with '#' and blank lines are ignored.
  25. #
  26. # In the first 5 fields, an asterisk ('*') means 'all' and over-
  27. # rides any other characters in the field.
  28. # Otherwise, both single values, lists and ranges may be given.
  29. # Limits:
  30. #    min    -- 0..59
  31. #    hour    -- 0..23
  32. #    day    -- 1..31 (subject to month variations)
  33. #    month    -- 1..12
  34. #    dow    -- 0..6, 0 = Sunday.
  35. # Fields can be separated by any number of tabs and spaces. Space
  36. # is not allowed within a field, except in the command field.
  37. # Maximum line length is 510 characters.
  38. #
  39. # For best results, set the TZ environment variable to something like
  40. #    TZ=CET-1CDT
  41. # meaning for example "Central European Time, -1 hour after (i.e. 1
  42. # hour before) GMT, daylight savings zone. This will ensure correct
  43. # operation even on the nights -- twice a year -- where the daylight
  44. # savings periods change. If TZ is not set, CRON believes in US
  45. # West Coast time, where Borland lives.
  46. #
  47. # The command section can consist of 1 or more pif ID's, separated
  48. # by ';'. 
  49. #
  50. # All right, let's try a few entries.
  51. # --------------------------------------------------------------------
  52. # Start telecomm package every night
  53. 43 2 * * * ya
  54.  
  55. # --------------------------------------------------------------------
  56. # Run accounting program quarterly
  57. 45 4 1 1,4,7,10 * ac
  58.  
  59. # --------------------------------------------------------------------
  60. # Call BIX once a week doing the standard things (each monday morning)
  61. 47 5 * * 1 bi
  62.  
  63. # --------------------------------------------------------------------
  64. # Back up D: drive to the network server twice a month
  65. 38 2 1,15 * * ba
  66.  
  67. # --------------------------------------------------------------------
  68. # Back up project subdirectory every night (tuesday to saturday)
  69. 27 1 * * 2-6 bp
  70.  
  71. # --------------------------------------------------------------------
  72. # Print an accounting report every monday and the 1. of every month.
  73. 54 5 1 * 1 pa
  74.  
  75. # End of sample crontab
  76.